]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenShield: Fix regression from 114f6f577f58
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 19 Sep 2012 11:11:27 +0000 (13:11 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 19 Sep 2012 11:12:01 +0000 (13:12 +0200)
js/ui/screenShield.js

index 96e2f80b0da1262184b45a998a09cc5a4a088c6b..ff410c862a168afe43b5e31c7d21e1fd3da0054c 100644 (file)
@@ -698,9 +698,10 @@ const ScreenShield = new Lang.Class({
     },
 
     _lockScreenShown: function() {
-        if (this._dialog)
+        if (this._dialog && !this._isGreeter) {
             this._dialog.destroy();
-        this._dialog = null;
+            this._dialog = null;
+        }
 
         if (this._arrowAnimationId)
             Mainloop.source_remove(this._arrowAnimationId);